//
//  PopView.h
//  YuanCheng
//
//  Created by 朱亚杰 on 16/4/5.
//  Copyright © 2016年 dongshangtong. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface PopView : UIView

@property (weak, nonatomic) IBOutlet UIImageView *iconView;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *subTitleLabel;
@property (weak, nonatomic) IBOutlet UIButton *applyBtn;


@property (nonatomic, weak) id delegate;

+ (instancetype)popView;

@end

@protocol PopViewDelegate <NSObject>

/** 关闭当前View */
- (void)popViewClose:(PopView *)popView;

/** 申请会员 */
- (void)popViewToApplyView:(PopView *)popView;

@end
